home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- global X0, Y0, X1, Y1, X2, Y2, XA1, YA1, XA2, YA2, XB1, YB1, XB2, YB2, XC1, YC1, XC2, YC2, XD1, YD1, XD2, YD2, XZ1, YZ1, XZ2, YZ2, FirstPlaySW, ThrowBallSW, ThrowOk, ThrowArrow, PlayBack, Counter, Area, gTimeOut, gHelp, gMove1, MaxgT, gB
- set MaxgT to 73
- set gB to 4.0
- set gHelp to 0
- set gTimeOut to "yy2"
- set XA1 to 288 - ((Area - 1) * 60 / 2)
- set YA1 to 148 - ((Area - 1) * 30 / 2)
- set XA2 to XA1 + (60 * Area)
- set YA2 to YA1 + (30 * Area)
- set XC1 to 288
- set YC1 to 179
- set XC2 to 288 + 60
- set YC2 to 179 + 16
- set XB1 to 230
- set YB1 to 135
- set XB2 to 230 + 40
- set YB2 to 135 + 36
- set XZ1 to 213
- set YZ1 to 60
- set XZ2 to 213 + 109
- set YZ2 to 60 + 129
- set XD1 to 290
- set YD1 to 195
- set XD2 to 90 + 50
- set YD2 to 195 + 48
- if gMove1 <> 1 then
- set the visible of sprite 14 to 0
- set the visible of sprite 15 to 0
- set the visible of sprite 16 to 0
- set the visible of sprite 17 to 0
- set the visible of sprite 18 to 0
- set the visible of sprite 19 to 0
- set the visible of sprite 20 to 0
- set the visible of sprite 21 to 0
- set the visible of sprite 22 to 0
- set the visible of sprite 23 to 0
- set PlayBack to 1
- set ThrowOk to 0
- set FirstPlaySW to 0
- set ThrowBallSW to 0
- set ThrowArrow to 1
- puppetSprite(10, 1)
- puppetSprite(11, 1)
- else
- set the visible of sprite 21 to 0
- puppetSprite(10, 1)
- puppetSprite(11, 1)
- set gMove1 to 0
- go(the frame + 1)
- end if
- end
-